﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Bankeren
{
    [DataContract]
    public class ServerDetails
    {
        #region Fields

        private string serverName;
        private int numPlayers;

        #endregion

        #region Properties

        [DataMember]
        public string ServerName
        {
            get { return serverName; }
            private set { this.serverName = value; }
        }

        [DataMember]
        public int NumPlayers
        {
            get { return this.numPlayers; }
            private set { this.numPlayers = value; }
        }

        #endregion

        #region Ctor

        public ServerDetails(string serverName, int numPlayers)
        {
            this.serverName = serverName;
            this.numPlayers = numPlayers;
        }

        #endregion
    }
}
